package com.study.lxy.springmvc.util;

public class UserPrinciple {

    private String username;

    private String info;


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return "UserPrinciple{" +
                "username='" + username + '\'' +
                ", info='" + info + '\'' +
                '}';
    }

    public UserPrinciple(String name,String info){
        this.username = name;
        this.info = info;
    }
}
